package com.xkdx.guangguang.fragment.myinfomation;

import java.util.HashMap;

import com.xkdx.guangguang.fragment.BaseFragment;
import com.xkdx.guangguang.module.network.AbsModule;
import com.xkdx.guangguang.module.network.HttpTask;
import com.xkdx.guangguang.module.network.JsonHttpRequest;

public class InfoSystemPresistence extends HttpTask {

	public InfoSystemPresistence(BaseFragment baseFragment) {
		this.baseFragment = baseFragment;
		mUseCache=false;
		requestInstent = new JsonHttpRequest();
	}

	@Override
	protected void onPostExecute(HashMap<String, AbsModule> result) {
		if (baseFragment != null) {
			if (InfoNotificationFragment.issystem_LoadMore) {
				((InfoNotificationFragment) baseFragment)
						.showOtherSystemLoaded(result);
			} else {
				((InfoNotificationFragment) baseFragment).showSystemLoaded(result);
			}
		}
	}
}
